package com.atguigu.yygh.common.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*-------------------------------------------------
      时 间:   2023-03-13
      讲 师:   刘  辉
      描 述:   尚硅谷教学团队
---------------------------------------------------*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class YYGHException  extends  RuntimeException{
    private Integer code;
    private String message;

}
